import type { ColumnsType } from 'antd/es/table';

const columns: ColumnsType<DataType> = [
  { title: '姓名', dataIndex: 'name' },
  { title: '年龄', dataIndex: 'age' },
  { title: '地址', dataIndex: 'address' },
];

const data: DataType[] = [
  { key: '1', name: "zhangsan", age: 18, address: "Beijing" },
  { key: '2', name: "lisi", age: 30, address: "shanghai" }
];

export { columns, data }